//
//  CheckBoxView.h
//  PhongThuyHuongNha
//
//  Created by Le Anh Tai on 9/28/13.
//  Copyright (c) 2013 Le Anh Tai. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol CheckBoxViewDelegate;
@interface CheckBoxView : UIView
{
    UIImageView *_checkedImageView;
}

@property (nonatomic, weak) id<CheckBoxViewDelegate> delegate;
@property (nonatomic, strong) UILabel *titleLabel;
@property (nonatomic, assign) BOOL checked;
@property (nonatomic, assign) NSTextAlignment alignment;

@end

@protocol CheckBoxViewDelegate <NSObject>

- (void)checkBox:(CheckBoxView*)view valueChanged:(BOOL)isChecked;

@end